%% Unload nilibddc.dll
unloadlibrary(libname);